home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Games Collection 1 / software vault.zip / software vault / CDR09 / EGATREK.ZIP / QREF.NOT next >
Text File  |  1988-03-12  |  12KB  |  432 lines

  1.                     Dos 3.30 Quick Reference Card
  2.  
  3.  
  4.   Type of commands                                      Page No.
  5. ----------------------------------------------------------------
  6.   I. Batch file commands                                   1
  7.  
  8.  II. DOS commands                                          2
  9.  
  10. III. Norton Utilities                                      12
  11.  
  12.  IV. DEBUG commands                                        15
  13.  
  14.   V. CONFIG.SYS commands                                   19
  15.  
  16.  
  17.               NOTE: All text in sections I, II, IV, and V is
  18.               (C)Copyright IBM Corporation 1987, material in
  19.               section III is (C)Copyright Peter Norton 1984,
  20.               and SideKick is (C)Copyright Borland
  21.               International 1987.
  22.  
  23. BATCH Commands                                            Page 1
  24. -----------------------------------------------------------------
  25. Displays messages, disables or enables 'echo message':
  26.   ECHO [ON | OFF | messages]
  27.  
  28. Transfers control to label:
  29.   GOTO [:] label
  30.  
  31. Conditional execution of commands:
  32.   IF [NOT]  condition  command
  33.  
  34. Waits for operator to press a key:
  35.   PAUSE [remark]
  36.  
  37. Conceals remarks (see ECHO):
  38.   REM [remark]
  39.  
  40.  
  41.  
  42.  
  43.  
  44. DOS Commands                                              Page 2
  45. -----------------------------------------------------------------
  46. Allows a DOS path-like support for data files in addition to
  47. program files:
  48.  
  49.   The first time APPEND is loaded:
  50.     [d:][path] APPEND d:path[; [d:][path]...]
  51.   or
  52.     [d:][path] APPEND [/X][/E]
  53.  
  54.   After APPEND has been loaded:
  55.     APPEND d:path[; [d:][path]...]
  56.   or
  57.     APPEND [;]
  58.  
  59. Make drive specifier x refer to y:
  60.   [d:][path] ASSIGN [x[=]y[...]]
  61.  
  62. Sets file to read-only or sets archive attributes on or off:
  63.   [d:][path] ATTRIB [+R | -R] [+A | -A] [d:][path] filename[.ext] [/S]
  64.  
  65. DOS Commands (continued)                                  Page 3
  66. -----------------------------------------------------------------
  67. Changes current directory:
  68.   CHDIR [d:][path]
  69.   or
  70.   CD [d:][path]
  71.  
  72. Checks disk and reports status:
  73.   [d:][path] CHKDSK [d:][path] [filename[.ext]] [/F] [/V]
  74.  
  75. Start a secondary command processor:
  76.   COMMAND [d:][path] [/P] [/C string] [/E:xxxxx]
  77.  
  78. Compare files:
  79.   [d:][path] COMP [d:][path] [filename[.ext]]
  80.     [d:][path] [filename[.ext]]
  81.  
  82.  
  83.  
  84.  
  85.  
  86. DOS Commands (continued)                                  Page 4
  87. -----------------------------------------------------------------
  88. Copies files:
  89.   COPY [/A][/B][d:][path] filename[.ext][/A][/B]
  90.     [d:][path] [filename[.ext]][/A][/B][/V]
  91.   or
  92.   COPY [/A][/B][d:][path] filename[.ext][/A][/B]
  93.     [+ [d:][path] [filename[.ext]][/A][/B]...]
  94.     [d:][path] [filename[.ext]][/A][/B][/V]
  95.  
  96. Allows you to set or change the date:
  97.   DATE [mm-dd-yy | dd-mm-yy | yy-mm-dd]
  98.  
  99. Deletes files:
  100.   DEL [d:][path] filename[.ext]
  101.  
  102. Lists files:
  103.   DIR [d:][path] [filename[.ext]][/P][/W]
  104.  
  105.  
  106.  
  107. DOS Commands (continued)                                  Page 5
  108. -----------------------------------------------------------------
  109. Compares diskettes:
  110.   [d:][path] DISKCOMP [d: [d:]] [/1][/8]
  111.  
  112. Copies diskettes:
  113.   [d:][path] DISKCOPY [d: [d:]] [/1]
  114.  
  115. Erases files:
  116.   ERASE [d:][path] filename[.ext]
  117.  
  118. Converts .EXE files to .COM format:
  119.   [d:][path] EXE2BIN [d:][path] filename[.ext]
  120.     [d:][path] [filename[.ext]]
  121.  
  122. Allows for fast accessing of files by holding in memory the
  123. locations of directories and recently opened files:
  124.   [d:][path] FASTOPEN d:[=nnn]...
  125.  
  126.  
  127.  
  128. DOS Commands (continued)                                  Page 6
  129. -----------------------------------------------------------------
  130. Formats diskettes or fixed disks
  131.   [d:][path] FORMAT d:[/S][/1][/8][/V][/B][/4][/N:xx][/T:yy]
  132.  
  133. Loads a table of additional character data into memory for the
  134. color/graphics adapter:
  135.   [d:][path] GRAFTABL [437 | 860 | 863 | 865 | /STATUS]
  136.  
  137. Allows the contents of a graphics display screen to be printed
  138. when using a color/graphics monitor adapter and screen:
  139.   [d:][path] GRAPHICS [printer type][/R][/B][/LCD]
  140.  
  141. Connects a drive to a directory on another drive to produce a
  142. single directory structure:
  143.   [d:][path] JOIN [d: d:\directory][/D]
  144.  
  145. Create, change, or delete a label:
  146.   [d:][path] LABEL [d:][volume label]
  147.  
  148.  
  149. DOS Commands (continued)                                  Page 7
  150. -----------------------------------------------------------------
  151. Creates a sub-directory:
  152.   MKDIR [d:] path
  153.   or
  154.   MD [d:] path
  155.  
  156. Sets mode on display:
  157.   [d:][path] MODE [40 | 80 | BW40 | BW80 | CO40 | CO80 | MONO]
  158.     [,[R | L]][,T]
  159.  
  160. Pause standard output after 24 lines (Filter):
  161.   [d:][path] MORE [<filename.ext]
  162.  
  163. Searches specific directories for commands or batch files:
  164.   PATH [[d:]path[;[d:]path]...]
  165.   or
  166.   PATH;
  167.  
  168.  
  169.  
  170. DOS Commands (continued)                                  Page 8
  171. -----------------------------------------------------------------
  172. Prints and queues data files:
  173.   [d:][path] PRINT [/D:device][/B:buffsiz][/U:busytick]
  174.   [/M:maxtick][/S:timeslice][/Q:quesiz][/C][/T][/P]
  175.   [[d:][path][filename[.ext]...]]
  176.  
  177. Set new prompt:
  178.   PROMPT [prompt-text]
  179.  
  180.   The prompt-text can be any text or can contain any of the
  181.   following meta-strings in the form of $(letter) where letter
  182.   is:
  183.      $ - the $ character
  184.      t - the time
  185.      d - the date
  186.      p - the current directory of the default drive
  187.      v - the version number
  188.      n - the default drive letter
  189.      g - the > character
  190.  
  191. DOS Commands (continued)                                  Page 9
  192. -----------------------------------------------------------------
  193. PROMPT (continued)
  194.      l - the < character
  195.      b - the | character
  196.      q - the = character
  197.      h - a backspace; the previous character is erased
  198.      e - the ESCape character - prefixes ansi control sequences
  199.      _ - the CR LF sequence (go to new line on display screen)
  200.  
  201. Renames files:
  202.   REN[AME] [d:][path] filename[.ext] filename[.ext]
  203.  
  204. Replaces and adds files
  205.   [d:][path] REPLACE [d:][path] filename[.ext] [d:][path]
  206.     [/A][/P][/R][/S][/W]
  207.  
  208. Removes a sub-directory:
  209.   RMDIR (or RD) [d:] path
  210.  
  211.  
  212. DOS Commands (continued)                                  Page 10
  213. -----------------------------------------------------------------
  214. Display or change the command processor's environment:
  215.   SET [name=[parameter]]
  216.  
  217. Loads support for file sharing:
  218.   [d:][path] SHARE [/F:filespace][/L:locks]
  219.  
  220. Allows you to uses a different drive specifier to refer to a
  221. drive or path:
  222.   [d:][path] SUBST d: d:path
  223.   or
  224.   [d:][path] SUBST d: /D
  225.   or
  226.   [d:][path] SUBST
  227.  
  228. Transfers DOS:
  229.   [d:][path] SYS d:
  230.  
  231.  
  232.  
  233. DOS Commands (continued)                                  Page 11
  234. -----------------------------------------------------------------
  235. Enter or change the time known to the system:
  236.   TIME [hh:mm[:ss][.xx]]
  237.  
  238. Displays all directory paths:
  239.   [d:][path] TREE [d:][/F]
  240.  
  241. Displays file contents:
  242.   TYPE [d:][path] filename[.ext]
  243.  
  244. Displays DOS version number:
  245.   VER
  246.  
  247. Verifies data after every write to disk:
  248.   VOL [d:]
  249.  
  250. Copies groups of files, including lower level subdirectories:
  251.   [d:][path] XCOPY [d:][path][filename[.ext]] [d:][path]
  252.   [filename[.ext]][/A][/D][/E][/M][/P][/S][/V][/W]
  253.  
  254. Norton Utility Commands                                   Page 12
  255. -----------------------------------------------------------------
  256. AUSQ     - To unsqueeze files
  257. BEEP     - To beep the speaker
  258. COPYIIPC - Copies copy-protected programs
  259. DISKRTN2 - Disk Utility
  260. DS       - Directory sort
  261. DT       - Disk tester
  262. FA       - View and change file attribute
  263. FF       - File finder
  264. FS       - File sort
  265. LD       - List directory
  266. LP       - Line printer
  267. LQTYPE   - Lists .LBR (LIBRARY) and sqeezed files
  268. LU       - Library utility - unpacks, etc
  269. LUE193   - Library utility program
  270. MOVE     - Moves a file from one sub-directory to another
  271. NU       - Norton utilities
  272. NUSQ     - Norton Unsqueeze V1.11
  273.  
  274.  
  275. Norton Utility Commands (continued)                       Page 13
  276. -----------------------------------------------------------------
  277. SA       - Sets screen foreground and background colors:
  278.              SA [NORMAL | REVERSE | [BRIGHT]
  279.                foreground [ON background]]
  280.  
  281.            Valid values for foreground are:
  282.              Black       Gray
  283.              Blue        Light Blue
  284.              Green       Light Green
  285.              Cyan        Light Cyan
  286.              Red         Light Red
  287.              Magenta     Light Magenta
  288.              Brown       Yellow
  289.              White       High Intensity White
  290.  
  291.            Valid values for background are all those in the first
  292.            column listed above.
  293.  
  294.  
  295.  
  296. Norton Utility Commands (continued)                       Page 14
  297. -----------------------------------------------------------------
  298. SETCLOCK - Sets value of electronic clock
  299. SI       - System information
  300. WIPEFILE - Erase file completely
  301. WIPEDISK - Erase disk completely
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317. DEBUG Commands                                            Page 15
  318. -----------------------------------------------------------------
  319. Assembles statements:
  320.   A [address]
  321.  
  322. Compares memory:
  323.   C range address
  324.  
  325. Displays memory:
  326.   D [address]
  327.   or
  328.   D [range]
  329.  
  330. Replaces memory contents:
  331.   E address [list]
  332.  
  333. Changes memory blocks:
  334.   F range list
  335.  
  336.  
  337.  
  338. DEBUG Commands (continued)                                Page 16
  339. -----------------------------------------------------------------
  340. Executes with optional breakpoints:
  341.   G [=address][address[address...]]
  342.  
  343. Hexadecimal add-subtract:
  344.   H value value
  345.  
  346. Reads and displays input byte:
  347.   I portaddress
  348.  
  349. Loads file or absolute diskette sectors:
  350.   L [address[drive sector sector]]
  351.  
  352. Moves memory block:
  353.   M range address
  354.  
  355. Defines files and parameters:
  356.   N [d:][path] filename[.ext]
  357.  
  358.  
  359. DEBUG Commands (continued)                                Page 17
  360. -----------------------------------------------------------------
  361. Sends output byte:
  362.   O portaddress byte
  363.  
  364. Proceed with statements after jump:
  365.   P [=address][value]
  366.  
  367. Ends DEBUG program:
  368.   Q
  369.  
  370. Displays registers/flag:
  371.   R [registername]
  372.  
  373. Searches for characters:
  374.   S range list
  375.  
  376. Executes and displays:
  377.   T [=address][value]
  378.  
  379.  
  380. DEBUG Commands (continued)                                Page 18
  381. -----------------------------------------------------------------
  382. Unassembles instructions:
  383.   U [address]
  384.   or
  385.   U [range]
  386.  
  387. Writes file or absolute diskette sectors:
  388.   W [address[drive sector sector]]
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401. Configuration Commands                                    Page 19
  402. -----------------------------------------------------------------
  403. Sets BREAK to ON or OFF:
  404.   BREAK [ON | OFF]
  405.  
  406. Sets number of buffers DOS will allocate:
  407.   BUFFERS = x
  408.  
  409. Permits use of DOS ANSI keyboard and screen enhancements:
  410.   DEVICE = ANSI.SYS
  411.  
  412. Permits creation of RAM disk:
  413.   DEVICE = VDISK.SYS kkk [fff][sss]
  414.  
  415. Sets maximum number of control blocks that can be concurrently
  416. open:
  417.   FCBS = m,n
  418.  
  419. Sets maximum number of files that can be concurrently open:
  420.   FILES = x
  421.  
  422. Configuration Commands (continued)                        Page 20
  423. -----------------------------------------------------------------
  424. Sets maximum number of drives that can be accessed:
  425.   LASTDRIVE = x
  426.  
  427. Loads a top-level command processor:
  428.   SHELL = [d:][path] filename[.ext] [parm1][parm2]
  429.  
  430. Allows you to override the default stack
  431.   STACKS = n,s
  432.